[INFO] cloning repository https://github.com/manishsingh10895/workspaces
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manishsingh10895/workspaces" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f36feef1cb661e2c1841077603a208aa41f52ac4
[INFO] testing manishsingh10895/workspaces against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/manishsingh10895/workspaces
[INFO] finished tweaking git repo https://github.com/manishsingh10895/workspaces
[INFO] tweaked toml for git repo https://github.com/manishsingh10895/workspaces written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/manishsingh10895/workspaces on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/manishsingh10895/workspaces already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ctor v0.1.26
[INFO] [stderr]   Downloaded structopt-derive v0.4.18
[INFO] [stderr]   Downloaded exitfailure v0.5.1
[INFO] [stderr]   Downloaded prettytable-rs v0.10.0
[INFO] [stderr]   Downloaded inquire v0.5.3
[INFO] [stderr]   Downloaded assert_cmd v2.0.16
[INFO] [stderr]   Downloaded structopt v0.3.26
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] [stderr]   Downloaded rusqlite v0.28.0
[INFO] [stderr]   Downloaded bstr v1.11.3
[INFO] [stderr]   Downloaded libsqlite3-sys v0.25.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f070c30d32b616d18a2a2ca2da2acff563a2ea45b375f957a69857f93cc9fe6d
[INFO] running `Command { std: "docker" "start" "-a" "f070c30d32b616d18a2a2ca2da2acff563a2ea45b375f957a69857f93cc9fe6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f070c30d32b616d18a2a2ca2da2acff563a2ea45b375f957a69857f93cc9fe6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f070c30d32b616d18a2a2ca2da2acff563a2ea45b375f957a69857f93cc9fe6d", kill_on_drop: false }`
[INFO] [stdout] f070c30d32b616d18a2a2ca2da2acff563a2ea45b375f957a69857f93cc9fe6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 94e5f38fc94473bbb57922a3435637c17735a13c0e04140537b035e300b7e0d9
[INFO] running `Command { std: "docker" "start" "-a" "94e5f38fc94473bbb57922a3435637c17735a13c0e04140537b035e300b7e0d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling assert_cmd v2.0.16
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling newline-converter v0.2.2
[INFO] [stderr]    Compiling dyn-clone v1.0.19
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling encode_unicode v1.0.0
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling bstr v1.11.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]    Compiling inquire v0.5.3
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling prettytable-rs v0.10.0
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling exitfailure v0.5.1
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling rusqlite v0.28.0
[INFO] [stderr]    Compiling ws v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/command_handlers.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::{self, Error};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]   --> src/command_handlers.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     dir: String,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout]   --> src/command_handlers.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     init: Option<String>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]   --> src/command_handlers.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let ws = db::fetch_workspace_with_dirs_by_name(&w_name);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_init_script` is never used
[INFO] [stdout]   --> src/command_handlers.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn set_init_script(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_dir` and `id` are never used
[INFO] [stdout]    --> src/workspace.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Workspace {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn remove_dir(&mut self, dir: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn id(self, id: i32) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/workspace.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<Dir> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<'_, Dir> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.02s
[INFO] running `Command { std: "docker" "inspect" "94e5f38fc94473bbb57922a3435637c17735a13c0e04140537b035e300b7e0d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94e5f38fc94473bbb57922a3435637c17735a13c0e04140537b035e300b7e0d9", kill_on_drop: false }`
[INFO] [stdout] 94e5f38fc94473bbb57922a3435637c17735a13c0e04140537b035e300b7e0d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 498c0f45f3d016033a113cca67303d8f4e97ebca0f2693bee2c5c5723386ce76
[INFO] running `Command { std: "docker" "start" "-a" "498c0f45f3d016033a113cca67303d8f4e97ebca0f2693bee2c5c5723386ce76", kill_on_drop: false }`
[INFO] [stderr]    Compiling ws v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/command_handlers.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::errors::{self, Error};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]   --> src/command_handlers.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     dir: String,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout]   --> src/command_handlers.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     init: Option<String>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]   --> src/command_handlers.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let ws = db::fetch_workspace_with_dirs_by_name(&w_name);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_init_script` is never used
[INFO] [stdout]   --> src/command_handlers.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn set_init_script(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `id` is never used
[INFO] [stdout]    --> src/workspace.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Workspace {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn id(self, id: i32) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/workspace.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<Dir> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<'_, Dir> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s
[INFO] running `Command { std: "docker" "inspect" "498c0f45f3d016033a113cca67303d8f4e97ebca0f2693bee2c5c5723386ce76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "498c0f45f3d016033a113cca67303d8f4e97ebca0f2693bee2c5c5723386ce76", kill_on_drop: false }`
[INFO] [stdout] 498c0f45f3d016033a113cca67303d8f4e97ebca0f2693bee2c5c5723386ce76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ac0d9393620262731da1e558800d314a23874ef67b5e09cdbbd70e085450599d
[INFO] running `Command { std: "docker" "start" "-a" "ac0d9393620262731da1e558800d314a23874ef67b5e09cdbbd70e085450599d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/command_handlers.rs:1:21
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::errors::{self, Error};
[INFO] [stderr]   |                     ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dir`
[INFO] [stderr]   --> src/command_handlers.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 65 |     dir: String,
[INFO] [stderr]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `init`
[INFO] [stderr]   --> src/command_handlers.rs:66:5
[INFO] [stderr]    |
[INFO] [stderr] 66 |     init: Option<String>,
[INFO] [stderr]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ws`
[INFO] [stderr]   --> src/command_handlers.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 68 |     let ws = db::fetch_workspace_with_dirs_by_name(&w_name);
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_init_script` is never used
[INFO] [stderr]   --> src/command_handlers.rs:63:8
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub fn set_init_script(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `id` is never used
[INFO] [stderr]    --> src/workspace.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr]  51 | impl Workspace {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn id(self, id: i32) -> Self {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/workspace.rs:77:21
[INFO] [stderr]    |
[INFO] [stderr] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<Dir> {
[INFO] [stderr]    |                     ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<'_, Dir> {
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: `ws` (bin "ws" test) generated 7 warnings (run `cargo fix --bin "ws" -p ws --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ws-2803423acb0c8c67)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test db::tests::insert_a_workspace ... FAILED
[INFO] [stdout] test workspace::tests::remove_dir ... ok
[INFO] [stdout] test workspace::tests::remove_non_existant_dir ... ok
[INFO] [stdout] test workspace::tests::add_directory ... ok
[INFO] [stdout] test command_handlers::tests::test_list_workspaces ... ok
[INFO] [stdout] test db::tests::test_list_workspaces ... ok
[INFO] [stdout] test db::tests::should_find_workspace_by_name ... ok
[INFO] [stdout] test workspace::tests::test_get_editor ... ok
[INFO] [stdout] test db::tests::test_update_editor ... ok
[INFO] [stdout] test command_handlers::tests::test_open_workspace ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- db::tests::insert_a_workspace stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: ./test.db"))
[INFO] [stdout] 
[INFO] [stdout] ---- command_handlers::tests::test_open_workspace stdout ----
[INFO] [stdout] Workspace not found
[INFO] [stdout] 
[INFO] [stdout] thread 'command_handlers::tests::test_open_workspace' (18) panicked at src/command_handlers.rs:223:9:
[INFO] [stdout] assertion failed: res.is_ok()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58cbfc27df2a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58cbfc27df2a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58cbfc27df2a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x58cbfc27df2a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x58cbfc2921ba - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x58cbfc2921ba - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x58cbfc282862 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58cbfc282862 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x58cbfc25ce7f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x58cbfc25ce7f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x58cbfc2763d9 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x58cbfc0bb34c - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x58cbfc0bb34c - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x58cbfc276592 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x58cbfc276592 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x58cbfc25cf6a - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x58cbfc2547f9 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x58cbfc25dc4d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x58cbfc29293c - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x58cbfc292902 - core[786f478f706679df]::panicking::panic
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x58cbfc0a7501 - ws[d4f2a20f27f791af]::command_handlers::tests::test_open_workspace
[INFO] [stdout]                                at /opt/rustwide/workdir/src/command_handlers.rs:223:9
[INFO] [stdout]   21:     0x58cbfc0a2e57 - ws[d4f2a20f27f791af]::command_handlers::tests::test_open_workspace::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/command_handlers.rs:218:29
[INFO] [stdout]   22:     0x58cbfc0aa1a6 - <ws[d4f2a20f27f791af]::command_handlers::tests::test_open_workspace::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x58cbfc0af42b - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x58cbfc0af42b - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x58cbfc0bbe1b - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x58cbfc0bbe1b - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   27:     0x58cbfc0bbe1b - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x58cbfc0bbe1b - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x58cbfc0bbe1b - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x58cbfc0bbe1b - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x58cbfc0bbe1b - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x58cbfc0b7534 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x58cbfc0b7534 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x58cbfc0bea22 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x58cbfc0bea22 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   36:     0x58cbfc0bea22 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x58cbfc0bea22 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x58cbfc0bea22 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x58cbfc0bea22 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x58cbfc0bea22 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x58cbfc27d83f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   42:     0x58cbfc27d83f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   43:     0x725d46d42aa4 - <unknown>
[INFO] [stdout]   44:     0x725d46dcfa64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     command_handlers::tests::test_open_workspace
[INFO] [stdout]     db::tests::insert_a_workspace
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin ws`
[INFO] running `Command { std: "docker" "inspect" "ac0d9393620262731da1e558800d314a23874ef67b5e09cdbbd70e085450599d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac0d9393620262731da1e558800d314a23874ef67b5e09cdbbd70e085450599d", kill_on_drop: false }`
[INFO] [stdout] ac0d9393620262731da1e558800d314a23874ef67b5e09cdbbd70e085450599d
